interface IResponse<T = any> {
    code: number
    message: string
    data: T
}

interface IPaging {
    Paging: IPagingBody
}

interface IPagingBody {
    PageIndex: number
    PageSize: number
    TotalCount: number
    TotalPage: number
}

export  type ICommonResponse<T> = Promise<IResponse<T>>
export  type ICommonResponseWithPagination<T> = Promise<IResponse<T> & IPaging>

